package com.example.com.skills_utf8;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageButton;
import android.widget.SlidingDrawer;
import android.widget.SlidingDrawer.OnDrawerCloseListener;
import android.widget.SlidingDrawer.OnDrawerOpenListener;
import android.widget.SlidingDrawer.OnDrawerScrollListener;
import android.widget.TextView;

public class slidingdrawer_25Activity extends Activity {

	
	private SlidingDrawer mDrawer;
	private ImageButton imbg;
	private Boolean flag=false;
	private TextView tv;
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.slidingdrawer);

		 imbg=(ImageButton)findViewById(R.id.handle);
		  mDrawer=(SlidingDrawer)findViewById(R.id.slidingdrawer);
		  tv=(TextView)findViewById(R.id.tv);
		  
		 
		  mDrawer.setOnDrawerOpenListener( new OnDrawerOpenListener() {
			
			@Override
			public void onDrawerOpened() {
				// TODO Auto-generated method stub
			
				
			}
		});
		  
		  mDrawer.setOnDrawerCloseListener( new OnDrawerCloseListener() {
			
			@Override
			public void onDrawerClosed() {
				// TODO Auto-generated method stub
				
			}
		});
		  
		  mDrawer.setOnDrawerScrollListener(new OnDrawerScrollListener() {
			
			@Override
			public void onScrollStarted() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void onScrollEnded() {
				// TODO Auto-generated method stub
				
			}
		});
		  
		  
		  
		
	}
	

	
	
	
}
